package com.kujawnode.result;

import lombok.*;

/**
 * @version 1.0
 * @Author kujaw
 * @Date 2025/7/9 13:24
 * @注释
 */
@Getter
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
public enum CodeEnum {
    OK(200,"成功"),

    FALT(500,"失败"),

    TOKEN_IS_EMPTY(901,"请求Token参数为空"),

    TOKEN_IS_EXPIRE(902,"请求Token已过期"),

    TOKEN_IS_ERROR(903,"请求Token错误"),

    TOKEN_IS_ABNORMAL(904,"请求Token异常"),

    ;
    //结果码
    private int code;

    @NonNull
    //结果信息
    private String msg;

}
